package com.ruoyi.system.es;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import lombok.Data;
import java.util.Date;

@Data
@Document(indexName = "comments-new")
public class CommentDocument {
    private String SId;
    @Id
    private String  id;
    private Long postId;
    private String content;
    private String author;
    private Date createTime;
} 